<!doctype HTML>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
selection_test(
  [
    '<div contenteditable>',
      '<div>foo</div>',
       '<pre>|bar\nbaz</pre>',
    '</div>',
  ],
  'Delete',
  [
    '<div contenteditable>',
      '<div>foo|bar</div>',
       '<pre>baz</pre>',
    '</div>',
  ],
  'Delete to merge whitespaces');
</script>
